import { instance1, instance2 } from './request'

export const getMusicList = () => {
  return instance1({
    url: 'music/playlist',
    method: 'GET',
  })
}
export const getByKeyWords = (params) => {
  return instance2({
    url: '/search',
    method: 'GET',
    params,
  })
}
